package org.example.project_12.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.example.project_12.entity.Comment;
import java.util.List;

@Mapper
public interface CommentMapper {
    int insert(Comment comment);
    List<Comment> selectByDocId(Long docId);
    Comment selectById(Long id);
    int deleteById(Long id);
    List<Comment> selectByParentId(Long parentId);
    List<Comment> selectByUserId(Long userId);
} 